export const findTypeByValue = (type, originType) => {
  return originType.find(item => item.value === type)?.label || '-'
}

export const findTypeByLabel = (type, originType) => {
  return originType.find(item => item.label === type)?.label || '-'
}